/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ringstarproject;

/**
 *
 * @author massiere
 */
public class Arete {

    int sommet1;
    int sommet2;
    double cout;
    int tempsRestant;

    public Arete(int sommet1, int sommet2){
        this.sommet1=sommet1;
        this.sommet2=sommet2;
        this.tempsRestant = 4;
        
    }

    public double getCout() {
        return cout;
    }

    public void setCout(double cout) {
        this.cout = cout;
    }

    public int getSommet1() {
        return sommet1;
    }

    public void setSommet1(int sommet1) {
        this.sommet1 = sommet1;
    }

    public int getSommet2() {
        return sommet2;
    }

    public void setSommet2(int sommet2) {
        this.sommet2 = sommet2;
    }

    public int getTempsRestant() {
        return tempsRestant;
    }

    public void setTempsRestant(int tempsRestant) {
        this.tempsRestant = tempsRestant;
    }


}
